import java.util.Vector;

public class State {

  public int[] value;       
  public State(int[] v) {
    value = v;
  }
  
  public boolean equals(State state) {
	 State s = (State)state;
    boolean flag = true;
    for (int i = 0; i < 9; i++) if (value[i] != s.value[i]) flag = false;
    return flag;
  }

  public String toString() {
    String s = "(";
    for (int i = 0; i < 9; i++)
      s = s + value[i] + ",";    
    return s + "\b)";
  }

  public Vector successors() {
	 Vector m = new Vector();
	 return m;
  }

  public int estimate(State goal) {
	 return 0;
  }
}